import { createRouter, createWebHashHistory } from 'vue-router';

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      redirect: '/chat-home',
    },
    {
      path: '/chat-home',
      name: 'chat-home',
      component: () => import('@/views/ChatHome/index.vue'),
    },
  ],
});

export default router;
